package com.ethink.order.api.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * TOC销售单导入日志 新增请求对象
 *
 * @author default
 * @date 2022-11-22
 */
@Data
public class TocSaleImportLogAddRequest {

    @Schema(description ="枚举 订单类型:1-零售业务(t1)|2-代销售(t2)|3-代发货(s3)")
    private Integer orderType;

    @Schema(description ="枚举 订单状态:1-草稿(s1)|2-已提交(s2)")
    private Integer orderStatus;

    @Schema(description ="订单来源")
    private String saleChannel;

    @Schema(description ="订单来源下级")
    private String saleSubChannel;

    @Schema(description ="网店code")
    private String shopCode;

    @Schema(description ="网店名称")
    private String shopName;

    @Schema(description ="货币编码")
    private String currencyCode;

    @Schema(description ="货币名称")
    private String currencyName;

    @Schema(description ="枚举 结算方式:1-先款后货(t1)|2-先货后款(t2)|3-分期付款(t3)|4-其他(t4)")
    private Integer settleModel;

    @Schema(description ="收款公司code",hidden = true)
    private String settleCompanyCode;

    @Schema(description ="收款公司name",hidden = true)
    private String settleCompanyName;

    @Schema(description ="收款公司账户账号")
    private String account;

    @Schema(description ="收款公司账户银行名称",hidden = true)
    private String bank;

    @Schema(description ="制单人账号",hidden = true)
    private String createUserCode;

    @Schema(description ="制单人名称",hidden = true)
    private String createUserName;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "商品信息")
    private List<TocSaleImportLogDetailAddRequest> item;

    @Schema(description = "订单日期对应的汇率",hidden = true)
    private Map<String, BigDecimal> rateMap;
}
